from django.contrib import admin
from apps.users.models import UserRank, UserProfile

class UserProfileAdmin(admin.ModelAdmin):
    list_display=('id', 'user')
    search_fields=['user__email', 'user__first_name', 'user__last_name', 'user__username']


admin.site.register(UserRank)
admin.site.register(UserProfile, UserProfileAdmin)
